package com.example.repair

import com.example.base.entity.RepairBean
import com.example.base.entity.RepairBeanItem
import com.example.base.mvi.IUiIntent

sealed class RepairIntent :IUiIntent{
    data object getRepairs:RepairIntent()

    data class getRepairByNum(val num:String):RepairIntent()

    data class getRepairByUser(val user:String):RepairIntent()

    data class addRepair(val bean:RepairBeanItem):RepairIntent()

    data class deleteRepair(val id:Int):RepairIntent()

    data class getRepirById(val id:Int):RepairIntent()

    data class updataRepair(val id:Int, val bean:RepairBeanItem):RepairIntent()
}